package com.shop.dao;

import com.shop.entity.UserGroup;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserGroupDao extends JpaRepository<UserGroup, Integer> {
    List<UserGroup> findByUsername(String username);
}
